#ID:2012060126
#Name:马越峰
###problem1
#1.写一个函数y(a,b)实现以下公式（不需要检查参数合法性）

y = (pow(b ** 2, 1 / 3) + 3 * pow(a, 1 / 3) + 1) / (a * b - 6)



'''def y(a,b):
    return ((pow(b**2,1/3)+3*pow(a,1/3)+1))/(a*b-6)
a,b=map(int,input().split())
print(y(a,b))'''


###end

###problem2

a,n=map(int,input().split())
list_1=[]
str_1=''
data = 1
for i in range(n):
    str_1 = str(i+1)+str(a)
    print(str_1)
    list_1.append(int(str_1))
for j in list_1:
    data = data * int(j)
print(data)


###end


###problem3

f=open('a.txt')
txt=[]
d = {}
for line in f:
    line = line.replace(',','').replace('.','')
    text = line.split()
    for k in text:
        if k in d:
            d[k] += 1
        else:
            d[k] = 1

d=sorted(d.items(),key=lambda x:x[1],reverse=True)
print(d)
f = open('b.txt','w',encoding='utf-8',)
d = str(d)
f.write(d)
f.close()


###end


###problem4

def convert(path, string):
    file = open(path, 'r')
    map = file.readlines()
    file.close()

    str1 = []
    str2 = []
    for i in map:
        cnt = i.split(':')
        str1.append(cnt[0])
        str2.append(cnt[1][0])
    str1 = ''.join(str1)
    str2 = ''.join(str2)

    remap = str.maketrans(str1, str2)
    return string.translate(remap)
#f = convert("C:/Users/MYF/Desktop/映射文件.txt","abcdab")
#print(f)


###end


###problem5
def my_yield(list):
    for i in list:
        for k in i:
            yield k

#list = ["aa", 'bb', 'cc']
my_yield(list)
###end

###problem6


###end